<%@ include file="/pages/taglibs.jsp"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" scope="request" />
<c:set var="user" value="${pageContext.request.userPrincipal}" scope="request" />
<jsp:useBean id="today" class="java.util.Date" />
<html:html locale="true">

<head>
<title>:: <bean:message key="app.name.principal" /> :: <bean:message key="app.name" /> - <decorator:title /></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="MSThemeCompatible" content="no">
<%@ include file="/pages/html_include.jsp"%>
<html:base />
<decorator:head />
</head>

<body>
<table width="720" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr width="720">
		<td>
			<table width="780" height="300" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr height="20">
					<td width="50%" align="left" class="black" valign="middle">
						<fmt:formatDate value="${today}" type="date" dateStyle="full" />
					</td>
					<td width="50%" align="right" class="laranja" valign="middle">
						Usu&aacute;rio [${user}]
					</td>
				</tr>
				<tr>
				    <td colspan="2" width="700" align="left" valign="top" scope="col">
						<table cellpadding="0" cellspacing="0">
							<tr>
								<td>
									<img src="${ctx}\images\decorators\topo1.jpg" width="350" height="200" />
								</td>
								<td>
									<img src="${ctx}\images\decorators\topo2.jpg" width="350" height="200" />
								</td>
							</tr>
						</table>	
					</td>	 
				 </tr>
				 <tr>
					<td colspan="2" class="relogio" align="right">
						:: <fmt:formatDate value="${today}" type="time" pattern="HH:mm:ss" /> :: <img src="${ctx}/images/buttons/impressora.gif" alt="<bean:message key="command.print" />" onclick="window.print();" style="cursor: pointer; cursor: hand;"/>
					</td>
				 </tr>
				<tr height="20" align="left">
					<td colspan="2" background="${ctx}\images\decorators\t2.gif">						
						<!-- Custom Configuration for this example, must come after body to work in IE -->											
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td height="375" align="left" valign="top" style="padding: 2px 12px 2px 12px;">
		<div id="page_title"><h1><u><decorator:title /></u></h1></div>
		<div align="center" id="content">
			<decorator:body />
		</div>
		</td>
	</tr>
	<tr>
		<td align="center"><br><bean:message key="app.copyright" /></td>
	</tr>
</table>
</body>

</html:html>